home *** CD-ROM | disk | FTP | other *** search
/ Experimental BBS Explossion 3 / Experimental BBS Explossion III.iso / comunic / zcomm.zip / ZCOMMDOC.AE < prev    next >
Text File  |  1993-11-27  |  77KB  |  1,771 lines

  1.  
  2.       Version 18.07 TurboDial 2.36            Universal Line Printer Edition
  3.       ZCOMM User Manual                                                  121
  4.  
  5.         If the string parameter begins with the character @, ZCOMM uses the
  6.         rest of the parameter as the initial command to access a pop-up help
  7.         program.  The contents of the f string parameter are added to this
  8.         command, separated by a space.  Thus, if helpfile contains "@yhp
  9.         /umanh.hlp", giving the help command from the main prompt executes
  10.         the DOS command "yhp /umanh.hlp main".
  11.  
  12.         If the called program leaves a file yamhelp.tmp containing script
  13.         commands in the current directory, ZCOMM executes this file with a
  14.         source command and then deletes it.
  15.  
  16.         SEE ALSO: f, helpfile, xhelpfile string parameters, source command
  17.  
  18.       history [histfile] Opens histfile for use as a dual 64 entry history
  19.         file for commands entered both at the ZCOMM command prompt and
  20.         online with the term function.  Histfile is a random access file
  21.         used as a pair of circular buffers to save commands for recall.
  22.         Only a file created by a previous history command may be used with
  23.         the history command.  If the specified histfile does not exist, it
  24.         is created.  Histfile stores commands with T or more characters
  25.         where T is the value of the T (threshold) numeric parameter.
  26.  
  27.         If histfile is not specified with the history command, the current
  28.         history file is updated and closed.
  29.  
  30.         The history command may be given with a different file name whenever
  31.         desired to access useful commands saved from previous sessions with
  32.         a particular host or application.
  33.  
  34.         When history is enabled, the Up and Down function keys scroll
  35.         through previously entered commands.  Ctrl-P and Ctrl-N may be used
  36.         in place of Up and Down respectively.  An old command so selected
  37.         may be edited with editing keys described in Chapter 18 and executed
  38.         with the <ENTER> key.
  39.  
  40.         In the term function, the history accessed with the Up and Down keys
  41.         is displayed and edited in the status line. [11] A Ctrl-X clears the
  42.         recalled text and restores normal status line and keyboard
  43.         operation.
  44.  
  45.         EXAMPLE: history /tmp/favbbs.hist
  46.  
  47.  
  48.         SEE ALSO: r command, T numeric parameter
  49.  
  50.  
  51.       __________
  52.  
  53.       11. Unix/Xenix flavors only support Backspace editing in this term
  54.           option.
  55.  
  56.  
  57.  
  58.       (C) 1993 Omen Tech Inc                        Chapter 19 Main Commands
  59.  
  60.  
  61.       Version 18.07 TurboDial 2.36            Universal Line Printer Edition
  62.       ZCOMM User Manual                                                  122
  63.  
  64.         N.B.: Do not give the history command before you have entered any
  65.         secret passwords from the keyboard as these will be saved in the
  66.         history file.  The history command without an argument closes the
  67.         history file and disables command recall.  Alternatively, the T
  68.         numeric parameter may be set to a large value to inhibit storing of
  69.         passwords in histfile.
  70.  
  71.         Normally, histfile should be an absolute pathname to insure that the
  72.         same file will be used regardless of the directory from which ZCOMM
  73.         is called from.
  74.  
  75.         The history command is not available when Restricted.
  76.         N.B.: Do not attempt to delete an open file on DOS, especially the
  77.         history file.
  78.  
  79.       host The host command conditions ZCOMM to accept incoming calls
  80.         unattended.  Host operation is described in Chapter 28.  The EXIT
  81.         key F1 terminates Host Operation.
  82.         N.B.: The host command is normally given only by a script that sets
  83.         parameters to their appropriate values.  Use the "host" entry in the
  84.         distributed PHODIR.t file as a prototype for your application.
  85.  
  86.         SEE ALSO: remote command
  87.  
  88.       if condition command ... The if command provides powerful condition
  89.         testing for scripts.  If executes the command(s) on the rest of the
  90.         line if condition is true.  Otherwise, execution continues
  91.         immediately with the next script line.  Chapter 27 describes the
  92.         testable conditions.
  93.  
  94.         SEE ALSO: else, on commands
  95.  
  96.       ife condition cmd1 ...; cmd2 ... Execute cmd1 ...  if condition is
  97.         true; otherwise skip to the first semicolon in the rest of the line
  98.         and resume execution (unconditionally) with cmd2.  Iff a semicolon
  99.         is not present, execution resumes at the end of the line, useful
  100.         within the body of a while command.
  101.  
  102.         EXAMPLE: set f5
  103.         @ife %s1 echo "s1 =%s1";  else echo "s1 not set"
  104.  
  105.         (Without the "else", the right half will always execute.)
  106.  
  107.  
  108.       kbdlock N * Controls acceptance of keyboarded characters by the term
  109.         function and during protocol file transfers.  If N is non zero, the
  110.         term function does not act upon key strokes.  If N is greater than
  111.         1, key strokes have no effect on protocol transfers.  The Ctrl-Break
  112.         key and the command prompt reset kbdlock to 0.  If N is 257, the
  113.         Ctrl-Break key does not reset Kbdlock.  Kbdlock does not affect the
  114.         k test condition or the accept command.  Characters typed while
  115.  
  116.  
  117.       (C) 1993 Omen Tech Inc                        Chapter 19 Main Commands
  118.  
  119.  
  120.       Version 18.07 TurboDial 2.36            Universal Line Printer Edition
  121.       ZCOMM User Manual                                                  123
  122.  
  123.         kbdlock is on will become available at the next command prompt,
  124.         accept command, or when kbdlock is reset unless typeahead is purged
  125.         with the purgek command.
  126.  
  127.         SEE ALSO: purgek command, Ctrl-Break key
  128.  
  129.       kbdmon [file] captures keystrokes to file.  If file exists, it is
  130.         appended to.  Function keys are denoted by an 0xFF character
  131.         followed by the code returned by the BIOS.  The kbdmon command
  132.         without an argument closes the file.  This command is not available
  133.         when Restricted.
  134.  
  135.       kermit By itself, selects Kermit or Kermit related parameters for use
  136.         by the !!, p, rb, and sb commands.
  137.  
  138.       Kermit rb [-options] Kermit rb receives files using the Kermit file
  139.         transfer protocol.  Chapter 20 describes the available options.
  140.         File names are given by the sending program.  The Kermit programs
  141.         must have compatible parity settings as described in Chapter 13,
  142.         Kermit Protocol.
  143.  
  144.         Kermit rb receives files from a regular Kermit program; use the get
  145.         command to receive files from a Kermit server.
  146.  
  147.         EXAMPLE: kermit pi1;  kermit rb Downloads files from an IBM
  148.         mainframe.
  149.  
  150.  
  151.         ZCOMM's term function will sense the remote Kermit's parity setting
  152.         and download files without user intervention When the remote Kermit
  153.         starts sending, if K (Kermit autodownload) term option is enabled
  154.         (the default).
  155.  
  156.       Kermit sb [-options] pathspec Kermit sb sends the specified files to
  157.         either a regular Kermit program or a Kermit server.  Chapter 20
  158.         describes the available options.  The Kermit programs must have
  159.         compatible parity settings as described in Chapter 13, Kermit
  160.         Protocol.
  161.  
  162.         EXAMPLE: kermit pi1;  kermit sb file ...  Sends the specified files
  163.         to an IBM mainframe.
  164.  
  165.  
  166.       keys, ALT-K Keys displays the definitions the user has assigned to the
  167.         function keys.
  168.  
  169.       ki Clears the y0...y127 string parameters and causes circular buffer
  170.         writing operations to ignore data from the remote which has already
  171.         been displayed.  This data is still available to the review
  172.         function.
  173.  
  174.  
  175.  
  176.       (C) 1993 Omen Tech Inc                        Chapter 19 Main Commands
  177.  
  178.  
  179.       Version 18.07 TurboDial 2.36            Universal Line Printer Edition
  180.       ZCOMM User Manual                                                  124
  181.  
  182.         EXAMPLE: The script fragment
  183.  
  184.             pat 1c "///BEGIN///"   "@ki create -+ print.fil"
  185.             pat 2c "///END///"   "@close"
  186.             wait -f30000
  187.  
  188.         will capture the data that arrives between "///BEGIN///" and the end
  189.         of the string "///END///".  Other data from the remote will not be
  190.         captured to disk.  The long pattern match fail time (30000 seconds)
  191.         makes the the cycle repeat almost indefinitely.
  192.  
  193.  
  194.         SEE ALSO: W term option
  195.  
  196.       kill Erases (flushes) all data stored in the circular buffer and
  197.         restores the buffer pointers to their initial positions.
  198.  
  199.       kill [-signum] procnum Available on Unix and OS/2 flavors, this form
  200.         of the kill command supports interprocess communications.  If signum
  201.         is absent, the kill command checks for the existence of the
  202.         specified process, but does not send it a signal.  Success sets the
  203.         ?  numeric parameter to 0, otherwise -1.
  204.  
  205.         SEE ALSO: createx command, Unix kill(1)
  206.  
  207.       l, ll, ls, lx For Unix users, synonyms for the dir commands.
  208.  
  209.       learn lfile TurboLearn(TM) Script Writer records timing information
  210.         and term function keystrokes to lfile.  The TurboLearn program
  211.         tlearn.exe then generates a script using this data.  Normally,
  212.         learning is initiated after the connection has been established, but
  213.         before the first prompt is received from the remote.  This is best
  214.         accomplished with the F4 key, which activates the tlearn telephone
  215.         directory entry.
  216.  
  217.         Function keys, cursor keys, reassigned keys, and scripts[12] should
  218.         not be used while learning.
  219.  
  220.         When accepting passwords and other sensitive information, systems
  221.         sometimes acknowledge each keyboard character with #, *, x, or X,
  222.         instead of the keyboarded character itself.  When this happens, do
  223.         not type characters faster than the remote responds to them.
  224.  
  225.         The resulting script should be examined for evidence of keyboarding
  226.         mistakes, line noise, and dependence on prompts that change each
  227.  
  228.  
  229.       __________
  230.  
  231.       12. Other than the dialing script
  232.  
  233.  
  234.  
  235.       (C) 1993 Omen Tech Inc                        Chapter 19 Main Commands
  236.  
  237.  
  238.       Version 18.07 TurboDial 2.36            Universal Line Printer Edition
  239.       ZCOMM User Manual                                                  125
  240.  
  241.         time you access the system.
  242.  
  243.         The comments below apply when the tlearn script is not used.
  244.  
  245.         EXAMPLE: kill
  246.              123-4567; learn lfile
  247.  
  248.         From the ZCOMM main command prompt, enter the desired phone number.
  249.         When ZCOMM connects, the learn command enters the term function with
  250.         learning (recording) turned on.
  251.  
  252.              <keyboard the operations you wish recorded>
  253.  
  254.         Login to the bulletin board as usual.  If you make keyboarding
  255.         mistakes, you can edit the script file later.
  256.  
  257.              ALT-C F1
  258.  
  259.         Terminate learning with ALT-C, and return to the main command prompt
  260.         with the F1 key.
  261.  
  262.              !tlearn lfile >newscript
  263.  
  264.         From the main command prompt, execute the TurboLearn program tlearn
  265.         with a DOS Gateway.
  266.  
  267.  
  268.         After recording, the tlearn program reads lfile and generates a
  269.         series of pattern and put script commands to let ZCOMM search for
  270.         the prompts and respond with the proper keystrokes.  The resulting
  271.         script file newscript may be accessed with the source command.
  272.  
  273.         Alternatively, the last command above may be replaced with
  274.  
  275.              !tlearn -d newdirname lfile >>phones.t
  276.  
  277.         to add the new script to the end of your telephone directory.
  278.  
  279.         The -d dirname causes tlearn to prepend the given new directory
  280.         entry name newdirname and the telephone number to the resulting
  281.         script commands.  The redirection characters >> add the script
  282.         commands to the end of your telephone directory.
  283.  
  284.         You can also use the -d newdirname option to tlearn to prepare a new
  285.         directory entry in a separate file.  Then you can edit this file and
  286.         add it somewhere within your telephone directory.
  287.  
  288.         The tlearn program also accepts a -r option to suppress a "return"
  289.         command normally emitted at the end of the generated script.  This
  290.         tlearn option allows one to append an "off" command to the generated
  291.         script.
  292.  
  293.  
  294.       (C) 1993 Omen Tech Inc                        Chapter 19 Main Commands
  295.  
  296.  
  297.       Version 18.07 TurboDial 2.36            Universal Line Printer Edition
  298.       ZCOMM User Manual                                                  126
  299.  
  300.       link * Link two serial ports.  The link command allows remote access
  301.         to a computer or other device connected to another port.  For
  302.         example, if port 1 is connected to an autoanswer modem and port 2 is
  303.         connected to a local timesharing machine, the link command could
  304.         allow dial-up callers access to the timesharing machine.  Chapter
  305.         19.5 describes the link command for DOS flavors.
  306.  
  307.  
  308.       link [c] On Unix flavors, the link command links the controlling
  309.         terminal with the serial line.  The optional c is the keyboarded
  310.         character that exits the link command (default 5 == Ctrl-E).  An
  311.         argument of -1 may be used to prevent a match.
  312.  
  313.         The link command always connects the keyboard/crt with the current
  314.         serial port; it is in essence a transparent term function.  The Unix
  315.         link command exits when carrier is lost on either port, or when the
  316.         keyboarded character matches c.
  317.  
  318.       list pathspec The list command uses standard DOS character output
  319.         routines and any installed CRT device driver instead of ZCOMM's own
  320.         CRT driver.  The printer can be enabled with ^P given to DOS (not
  321.         ZCOMM).  List the specified file(s).
  322.  
  323.         This command closes any open transmit file.  List pauses/resumes
  324.         printing with ^S.  Keyboarding ^C cancels, and ^X skips to the next
  325.         file (it might take a few whacks of the keyboard to get ZCOMM to
  326.         hear it.) The list command defaults to a type command when ZCOMM is
  327.         in host operation.
  328.  
  329.         EXAMPLE: list *.cq
  330.  
  331.  
  332.         SEE ALSO: browse, type, page commands
  333.  
  334.       lput string Displays string on the console display.  String is
  335.         processed for character escapes.  Lput is useful for scripts sending
  336.         cursor control codes to the screen.  Control characters and escape
  337.         sequences used with the lput command are always decoded with ZCOMM's
  338.         default extended VT52/Z19 emulation, which also recognizes ANSI "ESC
  339.         [" sequences, regardless of which display emulation is selected.
  340.         Unlike the echo command, lput does not display in reverse video and
  341.         does not add a carriage return/linefeed to its argument.
  342.  
  343.         SEE ALSO: echo command
  344.  
  345.       lputp string Outputs string to the line printer.  String is processed
  346.         for character escapes.  Strings with embedded nulls (represented
  347.         with the \000 character escape) may be used.  The lput command
  348.         should not be used if the printer is jammed, out of paper, or off
  349.         line.  These conditions may be tested with the l test condition.
  350.         This command is not allowed when ZCOMM is Restricted.
  351.  
  352.  
  353.       (C) 1993 Omen Tech Inc                        Chapter 19 Main Commands
  354.  
  355.  
  356.       Version 18.07 TurboDial 2.36            Universal Line Printer Edition
  357.       ZCOMM User Manual                                                  127
  358.  
  359.         EXAMPLE: if l lputp "\E\017" If the printer is ready, ZCOMM sends
  360.         ESC SI to select compressed printing on an IBM 80 CPS printer.
  361.  
  362.  
  363.         SEE ALSO: l numeric parameter, l test condition, \dNNN (decimal)
  364.         character escapes
  365.  
  366.       menu Execute script commands from the file name stored in the string
  367.         parameter menu.
  368.  
  369.       message The message command allows a caller to keyboard a message
  370.         which will be appended to a file specified by the string parameter
  371.         messages.  Typically, messages would point to a publicly visible
  372.         file to allow other callers to read messages.  The message command
  373.         is otherwise identical to the private command.
  374.  
  375.         SEE ALSO: private command
  376.  
  377.       mk [scancode shiftstate class string] Assign term function keyboard
  378.         mapping.  Without an argument, mk resets and disables keyboard
  379.         mapping.  The mk command is described in Chapter 29.
  380.  
  381.         SEE ALSO: K and N numeric parameters, _ command
  382.  
  383.       more pathspec See page command.
  384.  
  385.       mput string The mput command transmits string to the remote at full
  386.         speed.  String is processed for character escapes.  Unlike the put
  387.         and putw commands, mput does not display characters coming from the
  388.         remote (they are held in the interrupt buffer).  Control and other
  389.         special characters may be entered with character escapes.  If a
  390.         carriage return should be sent, it must be explicitly coded with \r
  391.         at the end of the string.
  392.  
  393.         SEE ALSO: put, putw commands
  394.  
  395.       nolog * Suppress generation of the next log entry (of any kind).
  396.  
  397.         EXAMPLE: mysys     nolog speed 1200 123-4567 t
  398.         Suppresses the log entry that would otherwise be made if the calllog
  399.         string parameter is set.
  400.  
  401.  
  402.       nulls n When accessing ZCOMM in host operation, nulls sets the number
  403.         of nulls (default 0) sent after each linefeed to allow slow
  404.         terminals time to scroll.
  405.  
  406.         EXAMPLE: nulls 4
  407.  
  408.  
  409.  
  410.  
  411.  
  412.       (C) 1993 Omen Tech Inc                        Chapter 19 Main Commands
  413.  
  414.  
  415.       Version 18.07 TurboDial 2.36            Universal Line Printer Edition
  416.       ZCOMM User Manual                                                  128
  417.  
  418.       o Terminates a data call by dropping DTR (Data Terminal Ready).  DOS
  419.         ZCOMM drops Clear To Send (CTS) as well as DTR if hardware flow
  420.         control was selected with the handshake command.  A bye or speed n
  421.         command must be given to reassert DTR before making or answering
  422.         another data call.[13] The o command does not release ownership of
  423.         the serial port.
  424.  
  425.         SEE ALSO: speed, bye, off, port commands
  426.  
  427.       obey string Sometimes one wishes to execute the contents of a string
  428.         parameter as a ZCOMM command.  Other times one needs to reference a
  429.         pathname stored in a string parameter in the context of a command
  430.         that does not itself perform string substitution on its argument(s).
  431.  
  432.         Obey executes string as a ZCOMM command.  Character escapes in
  433.         string are substituted before execution.
  434.  
  435.         EXAMPLE: obey ">>%s0" Redirects the output of utility commands to
  436.         the pathname stored in string parameter s0.
  437.  
  438.  
  439.         EXAMPLE: pat 19c "OBEY-LAST" "@obey %y2" Sets pattern 19 to execute
  440.         the previous line received from the remote when the string "OBEY-
  441.         LAST" is received.
  442.  
  443.         N.B.: The remainder of the line after the obey command will be
  444.         executed unless execution of string is terminated by a return or
  445.         fail command.  The construction obey "if xxx goto foo" May be used
  446.         only if no commands follow the obey command's string argument.
  447.         N.B.: Backslashes in file names used with the obey command must be
  448.         escaped.
  449.         N.B.: When the obey command is used to substitute file names, file
  450.         names containing separator or operator characters such as & may
  451.         change the syntax of the resulting command.  For instance, the
  452.         pathological but legal DOS filename foo&&999.bar would cause obey if
  453.         f%thisfile gosub dofile to expand to if ffoo&&999.bar gosub dofile
  454.         to parse as a test for a match to an illegal pattern 999.
  455.  
  456.       off Disable the modem by dropping DTR (Data Terminal Ready), [14]
  457.         release ownership of the serial port, and exit to the operating
  458.         system.  DOS ZCOMM drops Clear To Send (CTS) as well as DTR if
  459.         hardware flow control was selected with the handshake command.
  460.  
  461.  
  462.  
  463.       __________
  464.  
  465.       13. Most telephone directory entries include a speed command.
  466.  
  467.       14. The modem must be configured to use Data Terminal Ready (DTR).
  468.  
  469.  
  470.  
  471.       (C) 1993 Omen Tech Inc                        Chapter 19 Main Commands
  472.  
  473.  
  474.       Version 18.07 TurboDial 2.36            Universal Line Printer Edition
  475.       ZCOMM User Manual                                                  129
  476.  
  477.         Exit status is the value of the ?  numeric parameter.
  478.  
  479.         The next program must select the port and initialize it to reassert
  480.         DTR before making or answering another data call.
  481.  
  482.         SEE ALSO: bye, x, o, port commands
  483.  
  484.       on [condition rest-of-line] * Executes rest-of-line if condition is
  485.         true.  Condition is tested after each command line executes, unless
  486.         a return or fail command is executed, or when pattern is the last
  487.         command on the line.  An on command without predicate (on a line by
  488.         itself) cancels the on command active at that script level.
  489.  
  490.         EXAMPLE: on
  491.  
  492.         The term function may be accessed with the wait command and no
  493.         patterns active to force an exit on loss of carrier detect or
  494.         pattern search timeout.  Otherwise, ZCOMM could remain in term
  495.         function until a command is keyboarded.  Typical commands to use
  496.         with the on statement are goto, return, off, and abort.  Chapter 27
  497.         describes the testable conditions.
  498.  
  499.         One active on statement is available for each level of script.  The
  500.         on statement does not propagate to different script levels.
  501.  
  502.         When rest-of-line is executed, the on statement at that level is
  503.         canceled.  An on command cancels any previous on command at that
  504.         script level.
  505.  
  506.         EXAMPLE: on !c goto fooend Branches to fooend if the carrier drops
  507.         out.
  508.  
  509.         SEE ALSO: wait, if commands
  510.         N.B.: No other commands may be on the line after the on command
  511.         except for its predicate.
  512.  
  513.       open [-term_modes] file Opens file for transmission with the term
  514.         function with options.  The open command should be used when you
  515.         don't want to enter the term function immediately, or are already in
  516.         it.  In other situations, it may be necessary to open the file
  517.         before dialing to allow transmission immediately after connection,
  518.         without the delay of opening the file from a floppy disk.
  519.  
  520.         SEE ALSO: seek, read, close commands
  521.  
  522.       page pathspec Type the file(s) specified in pathspec a screenfull at a
  523.         time.  When the screen is filled up, the More?  prompt appears.
  524.         Typing space displays another screenfull.  Typing ^X skips to the
  525.         next file.  Typing ^K or ^C terminates the command.  This command
  526.         closes any open transmit file.
  527.  
  528.  
  529.  
  530.       (C) 1993 Omen Tech Inc                        Chapter 19 Main Commands
  531.  
  532.  
  533.       Version 18.07 TurboDial 2.36            Universal Line Printer Edition
  534.       ZCOMM User Manual                                                  130
  535.  
  536.         EXAMPLE: page *.doc
  537.  
  538.  
  539.         SEE ALSO: browse, type, list, findmore commands
  540.  
  541.       PATtern [n[cilpv$] string [action]] (n = 0...24) The pattern command
  542.         allows ZCOMM to search for up to 25 different responses from a
  543.         remote computer, and take action based on which of those responses
  544.         (or none) was "seen".  A pattern match can execute specified script
  545.         command(s) "on the fly" (c modifier) or return control to the
  546.         calling script with an indication of which pattern was matched.
  547.  
  548.         The pattern command causes the next t, f, or wait command (term
  549.         function) to search for string in the data received from the
  550.         remote/modem.  String must be entered exactly as it will be received
  551.         from the modem, in the same case and with the same embedded spaces
  552.         or tabs.  Control characters must be represented with ZCOMM
  553.         character escapes.  The metacharacter \256 matches any single
  554.         character.  ZCOMM %string substitutions may be used to define search
  555.         patterns.  If the % character is to be searched for, it must be
  556.         represented as \045.
  557.  
  558.         Parity, NULL, RUBOUT, XON, and XOFF characters received from the
  559.         remote do not affect pattern searches.  If Kermit AutoDownload (K
  560.         option) is set, strings with SOH (Ctrl-A) cannot be matched.  If
  561.         ZMODEM AutoDownload (Z option) is set, strings with CAN (Ctrl-Z)
  562.         cannot be matched.  If B protocol (c option) is set, strings with
  563.         DLE or ENQ cannot be matched.
  564.  
  565.         Strings of up to 33 characters each may be specified for
  566.         simultaneous search by the term function.  The search patterns are
  567.         "global" among all script levels; a pattern command in a subroutine
  568.         affects the patterns set by the calling script(s) and vice versa.
  569.  
  570.         The term function returns when one of the patterns is matched or
  571.         when the term function times out with f seconds with no characters
  572.         from the remote, as determined by the f numeric parameter, or when
  573.         carrier detect is lost.  The first wait, t or f command given after
  574.         the pattern command begins the search.
  575.  
  576.         When one of the patterns is matched, that pattern is marked as found
  577.         and its corresponding action is executed (if present).  ZCOMM will
  578.         remain in the term function until there is a pause in data
  579.         transmission from the remote[15] unless the i or c modifier is used.
  580.  
  581.  
  582.  
  583.       __________
  584.  
  585.       15. Pause length is specified by the q numeric parameter.
  586.  
  587.  
  588.  
  589.       (C) 1993 Omen Tech Inc                        Chapter 19 Main Commands
  590.  
  591.  
  592.       Version 18.07 TurboDial 2.36            Universal Line Printer Edition
  593.       ZCOMM User Manual                                                  131
  594.  
  595.         The following modifiers may be used.  The c, i, and l modifiers are
  596.         mutually exclusive.
  597.  
  598.         c     The pattern is marked as found and action executed (if
  599.               present).  The term function then continues searching.
  600.               Matching this pattern does not cause a return from the term
  601.               function.  The condition for this pattern will test true, but
  602.               the n test condition is not affected.
  603.  
  604.         i (Immediate) The pattern is marked as found and action executed (if
  605.               present).  This modifier causes the term function to return
  606.               immediately.
  607.  
  608.         l (line end delay) The pattern is marked as found and action
  609.               executed (if present).  The term function then returns after
  610.               the first LF character following the matched string.
  611.  
  612.         p (permanent) A pattern with the p modifier is not reset by the
  613.               pattern command without arguments.  Patterns with the p
  614.               modifier may be used to search for disconnect messages within
  615.               an entire script.  Permanent patterns are reset by the call
  616.               command, each item in the outcall queue, and an explicit
  617.               pattern command referencing that particular pattern number.
  618.  
  619.               EXAMPLE: pattern 20 "\nCLR" "@off" Disconnects and exits ZCOMM
  620.               if the phrase CLR is seen immediately following an LF.
  621.  
  622.  
  623.         v (verbose) The v modifier displays a message when the pattern is
  624.               matched.  This is often useful when debugging scripts when the
  625.               large amount of output generated by large v numeric parameter
  626.               values is not desired.
  627.  
  628.               EXAMPLE: pat 5v "Finished Already."
  629.  
  630.  
  631.         $     Sometimes the only way to recognize a prompt (as distinct from
  632.               the same string embedded in other data) is to require the
  633.               prompt to be the last thing sent by the remote, before a
  634.               pause.  The $ modifier allows string to be matched only if the
  635.               remote pauses for 1 to 2 seconds after transmitting the last
  636.               character in string.
  637.  
  638.         The optional action is a string to be sent to the remote, or
  639.         executed as a command if it begins with "@".  Action is executed the
  640.         instant the last character of the pattern is matched, even if the i
  641.         modifier is not used.  Action must not use the goto, f, t, or wait
  642.         commands.
  643.  
  644.         The pattern command without any arguments clears the patterns that
  645.         don't have the p modifier, and terminates pattern searching.  The
  646.  
  647.  
  648.       (C) 1993 Omen Tech Inc                        Chapter 19 Main Commands
  649.  
  650.  
  651.       Version 18.07 TurboDial 2.36            Universal Line Printer Edition
  652.       ZCOMM User Manual                                                  132
  653.  
  654.         other events that terminate pattern search are a match to a pattern
  655.         that does not have the c modifier, a pattern search timeout, the
  656.         call, abort, or quit commands, a major error, or the NUKE key.
  657.  
  658.         EXAMPLE: pat 0c$ "" "\21"
  659.         Sends one XON character every time there is a pause in output from
  660.         the remote.  This recovers from situations where the remote computer
  661.         stops because it receiveed a spurious XOFF character, or lost an XON
  662.         character.
  663.  
  664.  
  665.         In the pattern n string command, if string contains a repeating
  666.         sequence such as foo in foofoobar, the search may be unsuccessful if
  667.         part of the phrase is received immediately prior to the desired
  668.         string (foofoofoobar).
  669.  
  670.       picture (DOS versions only) Append the contents of the display screen
  671.         to a DOS file.  The pathname is contained in the picture string
  672.         parameter.  The exact contents of the screen memory are written to
  673.         the file, with each screen character followed by its attribute.  A
  674.         separate program, unpic is used to convert the screen dump to a
  675.         normal file that may be printed or displayed.
  676.  
  677.         SEE ALSO: picture string parameter, unpic program
  678.  
  679.  
  680.       port n Change the modem port to COMn.  On DOS, the legal values for n
  681.         are 1...18.
  682.  
  683.         Selecting a new port normally selects software handshaking
  684.         ("handshake sw").  The PCDOS flavor enables both hardware and
  685.         software handshaking ("handshake both") iff the port speed exceeds
  686.         2400 bps and the Clear To Send (CTS) signal is active at the time
  687.         the port command is given.
  688.  
  689.         Standard Ports (PCDOS):
  690.         COM1 3F8 IRQ4 (Standard IBM)
  691.         COM2 2F8 IRQ3 (Standard IBM)
  692.  
  693.         NON STANDARD PORTS:
  694.         COM3 3E8 IRQ4 (Alternate)
  695.         COM4 2E8 IRQ3 (Alternate)
  696.         COM5 2B8 IRQ3 (Columbia)
  697.         COM6 2B8 IRQ2 (Alternate for IBM)
  698.  
  699.         COM7 2E8 IRQ5 (Alternate "COM3")
  700.         COM8 3E8 IRQ5 (Alternate "COM4")
  701.  
  702.         COM9 Uses the port address and interrupt vector previously set by
  703.         the portx command.
  704.  
  705.  
  706.  
  707.       (C) 1993 Omen Tech Inc                        Chapter 19 Main Commands
  708.  
  709.  
  710.       Version 18.07 TurboDial 2.36            Universal Line Printer Edition
  711.       ZCOMM User Manual                                                  133
  712.  
  713.         COM1 and COM2 are the standard serial ports defined by the IBM
  714.         Technical Reference Manual.
  715.  
  716.         COM3 and COM4 are supported by many serial cards and modem boards.
  717.         COM3 and COM1 share the same dedicated hardware interrupt line, and
  718.         these ports may not be used at the same time.  Likewise, COM4 and
  719.         COM2 may not be used at the same time.
  720.  
  721.         Columbia computers support COM5.
  722.  
  723.         COM6 to COM8 are alternate configurations that may be accessed by
  724.         cross jumpering between printer port decoders and serial port
  725.         enables on some multifunction boards.
  726.  
  727.         COM7 and COM8 support alternative definitions for "COM3" and "COM4"
  728.         respectively.
  729.  
  730.         Since ZCOMM uses the interrupt line on the selected port, no other
  731.         program or device driver may use the same port address and/or
  732.         interrupt vector concurrently.  Certain disk controllers and mice
  733.         interfaces use IRQ2 and IRQ5.  IRQ5 is sometimes used by network
  734.         cards and printer ports.  Ports sharing the same interrupt vector
  735.         (IRQ number) cannot be used concurrently.
  736.  
  737.         The port command sets the d term option (which suppress the No
  738.         Carrier Detect message).
  739.  
  740.         EXAMPLE: port 2
  741.  
  742.  
  743.         DOS ZCOMM begins with COM1 unless overridden by the DPORT
  744.         environment variable.
  745.  
  746.         EXAMPLE: C>set DPORT=2
  747.  
  748.  
  749.         On Unix, the argument of the port command is a character special
  750.         file in the /dev directory.  Unix and Xenix flavors have no default
  751.         port.  If the DPORT environment variable is set, that port will be
  752.         selected when ZCOMM initializes.  Otherwise, a port is selected by
  753.         the startup and/or dialing script.  Typical values are tty01
  754.         (386/ix) and tty2A (Xenix).
  755.  
  756.         EXAMPLE: DPORT=tty1A; export DPORT
  757.  
  758.  
  759.         SEE ALSO: handshake command, dport string parameter
  760.  
  761.       portx hbase,irq[,divisor] * To support specialized multiport serial
  762.         interfaces, the portx command selects a communications port with a
  763.         specified hexadecimal base address hbase and Interrupt Request Line
  764.  
  765.  
  766.       (C) 1993 Omen Tech Inc                        Chapter 19 Main Commands
  767.  
  768.  
  769.       Version 18.07 TurboDial 2.36            Universal Line Printer Edition
  770.       ZCOMM User Manual                                                  134
  771.  
  772.         irq (3 <= irq <= 15).[16] Nonstandard baudrate clock inputs are
  773.         supported with the optional divisor argument.  To support a
  774.         nonstandard bit rate source, multiply 5760 by the new raw bit rate
  775.         source frequency in MHz divided by 1.84320.
  776.  
  777.         The portx does not check its argument for validity.  The
  778.         consequences of an invalid selection are quite undefined.  The
  779.         specified base address and IRQ number are assigned to COM9, where
  780.         they may be used by the port command and the x numeric parameter.
  781.         The status line and s command will indicate COM9.  This command not
  782.         available on X.PC, Unix, Xenix, or OS/2.
  783.  
  784.         EXAMPLE: portx 3e8,15,57600 Selects a comm port with a base address
  785.         of 3e8 using IRQ15 and the 18.432 MHz clock option on the Boffin
  786.         Electronics "WinSport II" 2 port serial board.
  787.  
  788.  
  789.         SEE ALSO: intolink string parameter
  790.  
  791.       private The private command allows a caller to keyboard a message
  792.         which will be appended to a file specified by the private string
  793.         parameter.  Typically, private points to a private file inaccessible
  794.         to callers.  ZCOMM prepends a "From" line using the callers name as
  795.         stored in the remote string parameter.  The private command prompts
  796.         the caller to keyboard a "to:" name and up to 64 lines of text.  A
  797.         blank line terminates the message.  This command is intended for
  798.         short messages; long messages should be uploaded with a file
  799.         transfer protocol.  Keyboarding is controlled by the Z numeric
  800.         parameter, which sets the hot zone column after which a keyboarded
  801.         space character begins a new line.
  802.  
  803.         SEE ALSO: message command
  804.  
  805.       purgek Purge any characters the user may have typed ahead.*
  806.  
  807.       purgel Purge any unprocessed characters received from the modem Line
  808.         (remote).*
  809.  
  810.       put string The put command transmits string to the remote.  Use the
  811.         put command for transmitting commands to a modem or a remote
  812.         computer system.  String is processed for character escapes.
  813.         Control and other special characters may be entered with character
  814.         escapes described in Chapter 26.  If a carriage return should be
  815.         sent, it must be explicitly coded with \r at the end of the string.
  816.  
  817.  
  818.       __________
  819.  
  820.       16. IRQ2 can be used on some machines, on others it must be specified
  821.           as IRQ9.
  822.  
  823.  
  824.  
  825.       (C) 1993 Omen Tech Inc                        Chapter 19 Main Commands
  826.  
  827.  
  828.       Version 18.07 TurboDial 2.36            Universal Line Printer Edition
  829.       ZCOMM User Manual                                                  135
  830.  
  831.         EXAMPLE: put "myname\r" Sends myname followed by carriage return to
  832.         the modem.
  833.  
  834.  
  835.         A \336 (octal 336) character causes a pause in transmission
  836.         (duration controlled by the p numeric parameter).  This pause allows
  837.         one string to contain multiple commands.
  838.  
  839.         EXAMPLE: put "\336ATZ\r\336\336ATX1 M0 S0=1\r" Pauses, sends ATZ\r,
  840.         pauses (twice because some modems take longer to reset!), and then
  841.         sends ATX1 etc. to the modem.
  842.  
  843.  
  844.         Transmission with put is controlled by the 7, 8, h, p, w, and t term
  845.         options.
  846.  
  847.         SEE ALSO: putw, mput, putv commands
  848.  
  849.       putw string The putw command transmits string to the remote, and
  850.         pauses for a period of time (determined by the q numeric parameter)
  851.         before returning from the term function to allow characters to echo.
  852.         Other than that final pause, putw operates the same as the put
  853.         command.
  854.         N.B.: Putw should not be used when the next operation will be a
  855.         pattern or wait command.  If the expected response starts before the
  856.         putw command finishes, the following wait command will never get to
  857.         "see" what it is waiting for.  In general, the putw command should
  858.         only be used as a short-cut for sending a command when the response
  859.         is known in advance and can be safely ignored.
  860.  
  861.         SEE ALSO: put, mput commands
  862.  
  863.       putv svar The putv command transmits svar to the remote without any
  864.         translation of character escapes.  Putv does not append a carriage
  865.         return or line feed to the transmitted string.
  866.  
  867.         EXAMPLE: putv s0; put "\r"
  868.  
  869.  
  870.         SEE ALSO: put, mput commands
  871.  
  872.       pwd Print Working Directory displays the current directory pathname,
  873.         and stores it in the pwd string parameter.
  874.  
  875.         EXAMPLE: pwd
  876.  
  877.  
  878.         SEE ALSO: cd command
  879.  
  880.       pxN Set Numeric parameter x to value N.  If x and N are blank, display
  881.         the numeric parameters which can be set by this command and their
  882.  
  883.  
  884.       (C) 1993 Omen Tech Inc                        Chapter 19 Main Commands
  885.  
  886.  
  887.       Version 18.07 TurboDial 2.36            Universal Line Printer Edition
  888.       ZCOMM User Manual                                                  136
  889.  
  890.         current values.  This command is not allowed if Restricted.  Numeric
  891.         parameters are described in Chapter 24.
  892.  
  893.         EXAMPLE: ps8 Sets the status line attribute to 8 (grey), suitable
  894.         for composite video displays.
  895.  
  896.  
  897.         EXAMPLE: pv-1 Sets the v numeric parameter ("verbose") to -1,
  898.         suppressing some routine messages.  More negative values suppress
  899.         more routine messages.
  900.  
  901.  
  902.         EXAMPLE: pd1 Sets the d numeric parameter to 1, causing files
  903.         received with ZMODEM or full YMODEM protocol to be stored with the
  904.         modification date transmitted with the file.
  905.  
  906.  
  907.         EXAMPLE: pk3 Sets the k numeric parameter to 3, which kills pending
  908.         output stored in the circular buffer when ETX (Ctrl-C) (decimal 3)
  909.         is keyboarded in the term function.
  910.  
  911.  
  912.       queue { add [string] | clear | delete [n] | list | run } Manipulate
  913.         and execute a queue of commands for dialing numbers or other
  914.         suitable functions.  The queue contains 20 slots numbered 0 to 19.
  915.  
  916.         queue clear clears all queue entries.
  917.  
  918.         queue add [string] adds string to the queue after processing for
  919.              string substitutions.  The string is added to the first empty
  920.              queue slot available.  If string is absent, it is taken from
  921.              the next script line.  A typical string would be a command to
  922.              call a system: call telegodzilla
  923.  
  924.              Script entries used with the circular dialing queue should end
  925.              with a t command, which will enter the term function.  To stop
  926.              the queue at that point, use the ALT-N (NUKE) key.  NUKE
  927.  
  928.         queue delete [n] Delete then nth queue entry, or the currently
  929.              executing entry if n is not present.
  930.  
  931.         queue list lists the non empty queue entries.
  932.  
  933.         queue run begins execution of the queue entries.  The ALT-N (NUKE)
  934.              key, a fatal errror or any keyboarded character present after
  935.              the execution of the command in the entry terminates the queue
  936.              run command.
  937.         The queue commands are independent of the Outcall Queue available in
  938.         Host Operation.
  939.  
  940.         EXAMPLE: The script fragment:
  941.  
  942.  
  943.       (C) 1993 Omen Tech Inc                        Chapter 19 Main Commands
  944.  
  945.  
  946.       Version 18.07 TurboDial 2.36            Universal Line Printer Edition
  947.       ZCOMM User Manual                                                  137
  948.  
  949.              queue clear
  950.              while q set? s0 Q queue add "echo %s0"
  951.              queue list
  952.  
  953.         Sets each queue entry to echo its own queue number, then lists the
  954.         queue entries.
  955.  
  956.  
  957.         SEE ALSO: q and Q test conditions, Shift-F5 and Shift-F6 function
  958.         keys
  959.  
  960.       quit * Causes an immediate return to the command prompt from any
  961.         script level.  Quit may be used within a command string assigned to
  962.         a function key where an unconditional return to the command prompt
  963.         is desired, even if keyboarded from the term function.
  964.  
  965.       r [oldcmd] Search back through the history file of keyboarded lines
  966.         for the first line that oldcmd is a prefix of, and execute it.  If
  967.         oldcmd is absent, execute the last locall entered keyboarded line.
  968.  
  969.         EXAMPLE: history C:/tmp/junk.hst
  970.              del *.bak *.lst *.tmp *.foo
  971.              cd bazdir
  972.              r d
  973.              del *.bak *.lst *.tmp *.foo (command echoes)
  974.  
  975.  
  976.         SEE ALSO: history command
  977.  
  978.       r7 [-options] [dir] [file ...] Receives with options 1 or more files
  979.         using MODEM7 batch protocol.  An optional directory dir may be
  980.         specified.  If pathname(s) have been supplied to the r7 command and
  981.         the sending program attempts to send more files than the number of
  982.         names supplied to the r7 command, the transfer is aborted.  The
  983.         command is provided for compatibility with traditional programs that
  984.         do not support the superior YMODEM or ZMODEM protocols.
  985.  
  986.         EXAMPLE: r7 -c Receive file(s) with MODEM7 Batch and CRC-16 (-c).
  987.  
  988.  
  989.         SEE ALSO: MODEM7 batch protocol, Chapter 13.
  990.  
  991.       rb [-options] Receives with options 1 or more files using YMODEM
  992.         protocol.  The rb command also receives files sent with SEAlink
  993.         protocol.  Chapter 20 describes the available options.  YMODEM
  994.         transmits the pathname and length of each file.  If a file is
  995.         received in error (retries exhausted, etc.), the batch transfer will
  996.         terminate.  If Restricted, a file received in error will be unlinked
  997.         (erased).
  998.  
  999.         EXAMPLE: rb -y Receive file(s) with YMODEM replacing old files, if
  1000.  
  1001.  
  1002.       (C) 1993 Omen Tech Inc                        Chapter 19 Main Commands
  1003.  
  1004.  
  1005.       Version 18.07 TurboDial 2.36            Universal Line Printer Edition
  1006.       ZCOMM User Manual                                                  138
  1007.  
  1008.         any.
  1009.  
  1010.  
  1011.         EXAMPLE: rb -g Receive file(s) with YMODEM-g.
  1012.  
  1013.         Many programs claiming to support YMODEM actually use XMODEM with
  1014.         1024 byte blocks; use ZCOMM's sx -k, rx and rx -g XMODEM commands
  1015.         with these mutants.
  1016.  
  1017.         SEE ALSO: YMODEM protocol, Chapter 13.
  1018.  
  1019.       rb [-options] [dir] [file ...] Receives with options 1 or more files
  1020.         using YMODEM protocol.  An optional disk and/or directory dir may be
  1021.         specified.  The optional supplied pathnames file ...  are used in
  1022.         place of pathnames normally provided by the sending program.  If the
  1023.         sending program attempts to send more files than the number of names
  1024.         supplied to the rb command, the transfer is aborted.
  1025.  
  1026.       rc [-options] file Receives with options a single file using the Ward
  1027.         Christensen XMODEM protocol, 128 or 1024 byte blocks, and CRC-16
  1028.         instead of an 8 bit checksum.  ZCOMM signals the sending program
  1029.         that CRC-16 is to be used.  After four errors while attempting to
  1030.         receive the first sector, ZCOMM will cancel the CRC-16 option and
  1031.         reverts to checksum operation.
  1032.  
  1033.         The probability of an undetected transmission error is much less if
  1034.         CRC-16 is used in place of the default 8 bit arithmetic checksum.
  1035.         Omen Technology Inc Recommends use of the 16 bit CRC to maintain
  1036.         data integrity at professional levels.  Chapter 20 describes the
  1037.         available options to the rc command.  If Restricted, a file received
  1038.         in error will be deleted.
  1039.  
  1040.         EXAMPLE: rc foo.com
  1041.  
  1042.  
  1043.         SEE ALSO: XMODEM-CRC protocol, Chapter 13.
  1044.  
  1045.       read [file] Read file into the circular buffer.  Once in the buffer,
  1046.         it may be examined with the review command, searched for strings,
  1047.         and cut and pasted to other files.  If file does not fit into the
  1048.         buffer, the buffer may be cleared with the kill command (or review k
  1049.         subcommand) and subsequent read commands may be given to read more
  1050.         of it.  Review function commands are described in Chapter 23.
  1051.  
  1052.         EXAMPLE: read allsig.tmp<ENTER><Home>
  1053.  
  1054.  
  1055.         SEE ALSO: BROwse, seek commands
  1056.         CAUTION: Iff a read command has left a transmit file open, entering
  1057.         the term function will transmit the unread portion of the file.  To
  1058.         prevent this, close the file first with ALT-C or closetx.
  1059.  
  1060.  
  1061.       (C) 1993 Omen Tech Inc                        Chapter 19 Main Commands
  1062.  
  1063.  
  1064.       Version 18.07 TurboDial 2.36            Universal Line Printer Edition
  1065.       ZCOMM User Manual                                                  139
  1066.  
  1067.       receive [-options] Receives file(s) from a Kermit program.  Chapter 20
  1068.         describes the available options.  The other program must be
  1069.         commanded to send the desired files.
  1070.  
  1071.         SEE ALSO: get Kermit server access command
  1072.  
  1073.       remote Enter Host state with unrestricted privileges to allow the
  1074.         currently connected remote computer/terminal to issue commands.
  1075.         When activated by the remote command, Host state will reset when the
  1076.         modem carrier goes away.  This command is useful for transferring
  1077.         files between two machines with directly connected serial ports.
  1078.         Remote may be prefixed with restrict to limit privileges.*
  1079.  
  1080.         SEE ALSO: host command
  1081.  
  1082.       remote cwd dirspec [password] Instructs the remote Kermit server to
  1083.         change to the specified directory.  The form of dirspec varies with
  1084.         the remote system; it must be quoted if it contains special
  1085.         characters or spaces.  A password may be required by the remote
  1086.         Kermit server.
  1087.  
  1088.         SEE ALSO: Kermit Protocol, Chapter 13.
  1089.  
  1090.       remote delete filespec Instructs the remote Kermit server to delete
  1091.         the specified file(s).  The form of filespec varies with the remote
  1092.         system; it must be quoted if it contains special characters or
  1093.         spaces.
  1094.  
  1095.       remote dir dirspec Instructs the remote Kermit server to display the
  1096.         specified directory on your screen.  The form of dirspec varies with
  1097.         the remote system; it must be quoted if it contains special
  1098.         characters or spaces.  The resulting information may be redirected
  1099.         to a file with the >outfile command.
  1100.  
  1101.       remote help Instructs the remote Kermit server to display help
  1102.         information on your screen.  The resulting information may be
  1103.         redirected to a file with the >outfile command.
  1104.  
  1105.       remote host host-command-string Instructs the remote Kermit server to
  1106.         perform the specified command and display its output on your screen.
  1107.         The form of host-command-string varies with the remote system; it
  1108.         must be quoted if it contains special characters or spaces.  The
  1109.         resulting information may be redirected to a file with the >outfile
  1110.         command.
  1111.  
  1112.         EXAMPLE: remote host "kill -9 0" Terminates all your processes with
  1113.         extreme prejudice.
  1114.  
  1115.  
  1116.         SEE ALSO: !!command
  1117.  
  1118.  
  1119.  
  1120.       (C) 1993 Omen Tech Inc                        Chapter 19 Main Commands
  1121.  
  1122.  
  1123.       Version 18.07 TurboDial 2.36            Universal Line Printer Edition
  1124.       ZCOMM User Manual                                                  140
  1125.  
  1126.       remote print filespec Instructs the remote Kermit server to print the
  1127.         specified file(s) on the remote system.  The form of filespec varies
  1128.         with the remote system; it must be quoted if it contains special
  1129.         characters or spaces.
  1130.  
  1131.       remote space [dirspec] Instructs the remote Kermit server to display
  1132.         the free space in the specified directory on your screen.  The form
  1133.         of dirspec varies with the remote system; it must be quoted if it
  1134.         contains special characters or spaces.  The resulting information
  1135.         may be redirected to a file with the >outfile command.
  1136.  
  1137.       remote type filespec Instructs the remote Kermit server to type the
  1138.         specified file(s) on your screen.  The form of filespec varies with
  1139.         the remote system; it must be quoted if it contains special
  1140.         characters or spaces.  The resulting information may be redirected
  1141.         to a file with the >outfile command.
  1142.  
  1143.       remote who Instructs the remote Kermit server to display the logged in
  1144.         users on your screen.  The resulting information may be redirected
  1145.         to a file with the >outfile command.
  1146.  
  1147.       reset Write the contents of the circular buffer if a receive file is
  1148.         open, close all files, and reset the disk system.  This allows
  1149.         swapping diskettes.
  1150.  
  1151.       reskeys Resets the Soft Keys to empty.
  1152.  
  1153.         SEE ALSO: set command
  1154.  
  1155.       restime * Resets elapsed time and counts of bytes transmitted and
  1156.         received to zero.  The restime command may be given in a script
  1157.         immediately after login is completed to synchronize the elapsed time
  1158.         counter with the beginning of chargeable connect time.
  1159.  
  1160.         SEE ALSO: timestamp command, E test condition
  1161.  
  1162.       restrict * Restricts ZCOMM for the following command on the same line.
  1163.         This command is useful for testing.
  1164.  
  1165.         EXAMPLE: restrict source /menu.t
  1166.  
  1167.  
  1168.       RETurn Returns from a script subroutine accessed by a call, source, or
  1169.         gosub command.
  1170.  
  1171.         SEE ALSO: fail command
  1172.  
  1173.       rewind Reset the buffer pointers for display, printer, and file output
  1174.         used by the term function to the beginning of the circular buffer.
  1175.         This will cause the term function to redisplay the data in the
  1176.         circular buffer.  Patterns will be rescanned.  A typical use of the
  1177.  
  1178.  
  1179.       (C) 1993 Omen Tech Inc                        Chapter 19 Main Commands
  1180.  
  1181.  
  1182.       Version 18.07 TurboDial 2.36            Universal Line Printer Edition
  1183.       ZCOMM User Manual                                                  141
  1184.  
  1185.         rewind function is to allow replay of an editing session on a remote
  1186.         machine, or to redisplay the material received if the initial
  1187.         settings of the i, c, n or v term options were incorrect for the
  1188.         material received from the remote.
  1189.         N.B.: The rewind command does not reset the buffer free character
  1190.         count.  To write the data to disk, a write command (or ALT-W) must
  1191.         be given before accepting new data from the remote.
  1192.  
  1193.         SEE ALSO: t, b, w review subcommands
  1194.  
  1195.       REView Review the data received from the host or read by the read
  1196.         command.  A screenfull is displayed at a time.  Review function
  1197.         commands are listed in Chapter 23.
  1198.  
  1199.       ro [-options] file Receives with options a single file using non-
  1200.         standard XMODEM-CRC protocol logic.  OverThruster(TM) speeds file
  1201.         downloads at the expense of error recovery.  OverThruster operation
  1202.         is controlled by the O numeric parameter.  As fans of Buckaroo
  1203.         Bonzai know, the OverThruster is not universally applicable.  A
  1204.         transmission error will almost always terminate an OverThruster file
  1205.         download.
  1206.  
  1207.         If Restricted, a file received in error will be unlinked (erased).
  1208.  
  1209.         EXAMPLE: ro foo.com
  1210.  
  1211.  
  1212.         SEE ALSO: O numeric parameter
  1213.  
  1214.       rt [-options] [dir] [file ...] Receives with options 1 or more files
  1215.         using Telink (FIDO) batch protocol.  An optional disk and/or
  1216.         directory dir may be specified.  The optional supplied pathnames
  1217.         file ...  are used in place of pathnames normally provided by the
  1218.         sending program.  If pathname(s) have been supplied to the rt
  1219.         command and the sending program attempts to send more files than the
  1220.         number of names supplied to the rt command, the transfer is aborted.
  1221.         The rt command is provided for compatibility with traditional
  1222.         programs that do not support the superior YMODEM or ZMODEM
  1223.         protocols.
  1224.  
  1225.         EXAMPLE: rt -c
  1226.  
  1227.  
  1228.         SEE ALSO: Telink protocol, Chapter 13.
  1229.  
  1230.       rw [-options] file Receives with options a single file using the
  1231.         People-Link WXMODEM protocol.  Chapter 20 describes the available
  1232.         options.  If Restricted, a file received in error will be unlinked
  1233.         (erased).
  1234.  
  1235.         EXAMPLE: rw foo.com
  1236.  
  1237.  
  1238.       (C) 1993 Omen Tech Inc                        Chapter 19 Main Commands
  1239.  
  1240.  
  1241.       Version 18.07 TurboDial 2.36            Universal Line Printer Edition
  1242.       ZCOMM User Manual                                                  142
  1243.  
  1244.  
  1245.  
  1246.       rx [-options] file Receives with options a single file using the Ward
  1247.         Christensen XMODEM protocol.  CRC-16 is not the default because most
  1248.         commercial comms programs only support the 8 bit checksum.  Chapter
  1249.         20 describes the available options.  If Restricted, a file received
  1250.         in error will be unlinked (erased).
  1251.  
  1252.         EXAMPLE: rx foo.com
  1253.  
  1254.         N.B.: The rc command should be used whenever possible instead of rx.
  1255.  
  1256.         EXAMPLE: rx -g foo.txt Receive a single file with an ACKless XMODEM
  1257.         protocol mutant incorrectly called "ymodem-g" by PCBoard and Qmodem
  1258.         programs.
  1259.  
  1260.         SEE ALSO: XMODEM protocol, Chapter 13.
  1261.  
  1262.       rz [-options] Receives with options 1 or more files using ZMODEM
  1263.         protocol.  Chapter 20 describes the available options.  Each file's
  1264.         pathname is obtained from the sending program.  The +, a, b, n, N,
  1265.         r, and y options are accepted from the sending program, subject to
  1266.         Restriced privileges.  If the +, b, n, N, r, or y option is
  1267.         specified to the receiver, it overrides any contrary options
  1268.         specified to the sender.  Only one of the a, b, or r options may be
  1269.         specified.  Only one of the +, n, N, or y options may be specified.
  1270.         If a file is received in error (retries exhausted, etc.), the batch
  1271.         transfer will terminate.  If Restricted, a file received in error
  1272.         will be unlinked (erased).
  1273.  
  1274.         EXAMPLE: rz -y
  1275.  
  1276.  
  1277.         SEE ALSO: Z term option
  1278.  
  1279.         SEE ALSO: ZMODEM protocol, Chapter 13.
  1280.  
  1281.       rz [-options] [dir] [file ...] Receives with options 1 or more files
  1282.         using ZMODEM protocol.  An optional disk and/or directory dir may be
  1283.         specified.  The optional supplied pathnames file ...  are used in
  1284.         place of pathnames normally provided by the sending program.  If the
  1285.         sending program attempts to send more files than the number of names
  1286.         supplied to the rz command, the transfer is aborted.  To allow use
  1287.         of the rz command, Z term option (ZMODEM AutoDownload) should be
  1288.         turned off with a dis -Z command.
  1289.  
  1290.       s Displays status information.
  1291.  
  1292.         LSR and MSR refer to the Line Status Register and Modem Status
  1293.         Register of the modem port's 8250 UART device.
  1294.  
  1295.  
  1296.  
  1297.       (C) 1993 Omen Tech Inc                        Chapter 19 Main Commands
  1298.  
  1299.  
  1300.       Version 18.07 TurboDial 2.36            Universal Line Printer Edition
  1301.       ZCOMM User Manual                                                  143
  1302.  
  1303.         TYP refers to the type of serial chip detected.  A National 16550A
  1304.         shows as 1, an Intel 82510 shows as 2.  Other chips (without high
  1305.         speed enhancements) show as 0.
  1306.  
  1307.         "Uncorrected errors" displays the e numeric parameter, which counts
  1308.         the number of failed file transfers and "line hits" detected by the
  1309.         term function.
  1310.  
  1311.         If one or more scripts are active, the current line number (counting
  1312.         from the first line in the script file) for each script level is
  1313.         displayed.
  1314.  
  1315.         Any patterns active as a result of a pattern or wait command are
  1316.         displayed.  An S indicates not matched (still searching), F
  1317.         indicates that pattern has been matched.
  1318.  
  1319.  
  1320.         SEE ALSO: ALT-S function key
  1321.  
  1322.       s7 [-options] pathspec Send the files specified in pathspec using the
  1323.         MODEM7 batch Protocol.  Files which cannot be opened are skipped.
  1324.         An empty pathspec sends all files in the current directory.  A
  1325.         directory name expands to all regular files in that directory.
  1326.  
  1327.         If an error aborts a file transmission (retries exhausted, etc.),
  1328.         batch transfers terminate.
  1329.  
  1330.         EXAMPLE: s7 *.com Sends all *.com files
  1331.  
  1332.         N.B.: The receiver must be commanded to receive the files.  This
  1333.         command is provided for compatibility with traditional programs that
  1334.         do not support the superior YMODEM and ZMODEM protocols.
  1335.  
  1336.         SEE ALSO: MODEM7 batch protocol, Chapter 13.
  1337.  
  1338.       sb [-options] [PREFIX=p | ONAME=x] pathspec Send the files specified
  1339.         in pathspec using True YMODEMTm Protocol.  The pathname, length, and
  1340.         modification time of each file are transmitted.  Files which cannot
  1341.         be opened are skipped.  An empty pathspec sends all files in the
  1342.         current directory.  A directory name expands to all regular files in
  1343.         that directory.
  1344.  
  1345.         If an error aborts a file transmission (retries exhausted, etc.),
  1346.         batch transfers terminate.  The sb command will send files with
  1347.         SEAlink protocol if the receiving program requests SEAlink.
  1348.  
  1349.         EXAMPLE: sb -k *.com Sends *.com using 1024 byte packets.
  1350.  
  1351.         N.B.: The receiver must be commanded to receive the files with an rb
  1352.         command.  Unix and OS/2 users: sb command cannot be used to send
  1353.         source files that grow after the beginning of transmission.
  1354.  
  1355.  
  1356.       (C) 1993 Omen Tech Inc                        Chapter 19 Main Commands
  1357.  
  1358.  
  1359.       Version 18.07 TurboDial 2.36            Universal Line Printer Edition
  1360.       ZCOMM User Manual                                                  144
  1361.  
  1362.         SEE ALSO: YMODEM protocol, Chapter 13, SEAlink protocol, Chapter 13.
  1363.  
  1364.       seek offset Iff a transmit file is open as a result of a f, open, or
  1365.         read command, position the file read pointer to offset bytes from
  1366.         the beginning of the file if offset is positive (or 0), or from the
  1367.         end of the file if offest is negative.  "Seek 0" rewinds the file to
  1368.         its beginning.
  1369.  
  1370.         EXAMPLE: open baz; seek -20000; read<ENTER>Home Reviews the last
  1371.         20000 bytes of baz.
  1372.  
  1373.  
  1374.         SEE ALSO: open, read, close
  1375.  
  1376.       send [-options] pathspec Send the files specified in pathspec with the
  1377.         Kermit protocol.  The send command sends files to either a Kermit
  1378.         server or a regular Kermit program.
  1379.  
  1380.         EXAMPLE: send -a *.asm
  1381.  
  1382.  
  1383.       set[s|c] [[_]sparam string] Set String parameter sparam to string.  As
  1384.         with all ZCOMM strings, the string must be enclosed by double quote
  1385.         characters if it contains spaces, tabs, or semicolons.  Character
  1386.         escapes must be used to represent special characters, including
  1387.         return and linefeed if needed.
  1388.  
  1389.         An optional leading underscore (_) prepended to sparam causes the
  1390.         string to be cleared by the next call command.
  1391.  
  1392.         EXAMPLE: set mprefix ATDT sets the modem dialing prefix for tone (T)
  1393.  
  1394.         EXAMPLE: set f8 \PXXXXX Assigns a five character automatically
  1395.         generated password (\PXXXXX character escape described in Chapter )
  1396.         to function key F8.  Once programmed this way, the F8 key will
  1397.         transmit five nonsense characters determined by the xpassword string
  1398.         parameter and the remote system's name as stored in the remote
  1399.         string parameter by the last call command.
  1400.  
  1401.  
  1402.         EXAMPLE: set _f1 "logout\r" Assigns the string "logout<ENTER>" to F1
  1403.         until the next call command.
  1404.  
  1405.  
  1406.         The parameters that may be set with this command are described in
  1407.         Chapter 25.  Case is significant in parameter names.
  1408.  
  1409.         Set without any arguments will display all non empty string
  1410.         parameters and their values.  If the v (verbose) numeric parameter
  1411.         is non zero, all string parameters are displayed.  The echo and lput
  1412.         commands may be used to display string parameters ("echo %svar").
  1413.  
  1414.  
  1415.       (C) 1993 Omen Tech Inc                        Chapter 19 Main Commands
  1416.  
  1417.  
  1418.       Version 18.07 TurboDial 2.36            Universal Line Printer Edition
  1419.       ZCOMM User Manual                                                  145
  1420.  
  1421.         The setc command performs string substitutions and character escape
  1422.         expansions on string before storing.  The sets command only performs
  1423.         string substitutions on string before storing.
  1424.         N.B.: Chapter 26 discusses string concatenation.
  1425.  
  1426.         EXAMPLE: sets s2 "%z1" Assigns the second token (%z1) generated by
  1427.         the split command to string parameter s2.
  1428.  
  1429.  
  1430.         If other commands are to follow on the same line, a semicolon must
  1431.         be used to separate the commands.
  1432.  
  1433.         EXAMPLE: set s1 "su"; goto sendit Would be illegal if the ";" were
  1434.         left out.
  1435.  
  1436.  
  1437.         A string parameter may be set to empty with set sparam "" (empty
  1438.         string enclosed by double quote characters).
  1439.  
  1440.         EXAMPLE: pv1; set Displays all string parameters, including all Soft
  1441.         Keys.
  1442.  
  1443.  
  1444.         EXAMPLE: sets s8 "s9 EQUALS %s9" Substitutes the value of string
  1445.         parameter s9 in the argument before assigning it to s8.
  1446.  
  1447.  
  1448.         SEE ALSO: echo, if, keys, reskeys, ALT-K, commands
  1449.         N.B.: When defining function keys to be called from within the term
  1450.         function, do not use the t or f commands.  Instead use the create or
  1451.         open commands to prevent excessive term function recursion.
  1452.  
  1453.         Assigning a string to a function key with the set command causes
  1454.         that string to be sent to the remote when the key is used within the
  1455.         term function.  If the string begins with @, the remainder of the
  1456.         string is executed as a ZCOMM command.
  1457.  
  1458.         EXAMPLE: set f3 "@rb" Assigns the rb command to F3.
  1459.  
  1460.  
  1461.       set[s|c] [_]sparam This form of the set command allows strings
  1462.         containing double quote (") characters to be defined.
  1463.  
  1464.         Given with string parameter sparam, but no string, set reads string
  1465.         from the next line verbatim, with only the trailing CR/LF removed.
  1466.         The line should not begin with a space or tab unless one is required
  1467.         for string.  This form may be used for entering strings containing
  1468.         double quotes.  If a script is active, the next line is read from
  1469.         the current script file, otherwise the user is prompted for it.
  1470.         N.B.: This form of the set command cannot be used as the predicate
  1471.         of an if command.  The argument should not appear as a label or
  1472.  
  1473.  
  1474.       (C) 1993 Omen Tech Inc                        Chapter 19 Main Commands
  1475.  
  1476.  
  1477.       Version 18.07 TurboDial 2.36            Universal Line Printer Edition
  1478.       ZCOMM User Manual                                                  146
  1479.  
  1480.         telephone directory entry.
  1481.  
  1482.         EXAMPLE: set outahost
  1483.         @o; pk3; sp 2400; set disks "abcd"; putw "\336ATM0H1\r" Programs
  1484.         outahost to drop DTR ("o"), set 2400 baud, allow disks a,b,c, and d,
  1485.         and send an ATM0H1 (go off hook) command to the modem to busy out
  1486.         the telephone line.
  1487.  
  1488.  
  1489.       setn sparam expression The setn command stores as a decimal number the
  1490.         result of an arithmetic expression consisting of decimal numbers,
  1491.         string variables, the length of string variables denoted with %, and
  1492.         the operators +, -, *, and /.  The expression is evaluated strictly
  1493.         left to right with 32 bit precision.
  1494.  
  1495.         EXAMPLE: setn vv 1+vv
  1496.  
  1497.  
  1498.       set? sparam condition The set?  command stores a decimal number
  1499.         representing the result of a test condition.
  1500.  
  1501.         EXAMPLE: set? s0 S Stores the value of the S test condition
  1502.         (transmission speed) in string variable s0.
  1503.  
  1504.  
  1505.       sleep deci-seconds Sleep causes ZCOMM to pause for the specified
  1506.         tenths of seconds.  This command may be used in a script with one or
  1507.         more put commands to login to a timesharing service.  The presence
  1508.         of a character in the keyboard buffer will cause the sleep command
  1509.         to finish before the specified time.
  1510.  
  1511.         The maximum sleep time is 32000 tenths of seconds.  Applications
  1512.         involving long sleep times may be better handled with the Host
  1513.         Operation callout queue.
  1514.  
  1515.         EXAMPLE: sleep 30 Pauses for 3 seconds.
  1516.  
  1517.  
  1518.         SEE ALSO: callout queue, \336 (string parameters)
  1519.  
  1520.       Soft Keys The Soft Keys f1-f12, fs1-fs10, fc1-fc10, fa1-fa10, ALT-a to
  1521.         ALT-z, fins, fdel, fhome, fend, fup, fdown, fleft, fright, fpgup,
  1522.         fpgdn, etc.  may be programmed by set commands given in script
  1523.  
  1524.  
  1525.       ______________________________________________________________________
  1526.  
  1527.       16. Because a failed if command would skip to the next line, the
  1528.           argument of the set command, and attempt to execute it as a script
  1529.           line.
  1530.  
  1531.  
  1532.  
  1533.       (C) 1993 Omen Tech Inc                        Chapter 19 Main Commands
  1534.  
  1535.  
  1536.       Version 18.07 TurboDial 2.36            Universal Line Printer Edition
  1537.       ZCOMM User Manual                                                  147
  1538.  
  1539.         files, including the "setup" entry in the distribution PHODIR.t
  1540.         file.  The strings or commands assigned to these keys may be
  1541.         displayed with the keys or ALT-K command.  To get a current list of
  1542.         the available soft keys (and other string parameters), keyboard the
  1543.         following three commands:
  1544.  
  1545.              pv1
  1546.              >keylist
  1547.              set
  1548.              close; pv0
  1549.  
  1550.       source sourcefile Accept script commands from sourcefile.  The source
  1551.         and call commands may be nested with up to six[17] scripts open at
  1552.         once.
  1553.  
  1554.         If the script has a READ ONLY attribute, ZCOMM is unrestricted
  1555.         during execution of the script.*
  1556.  
  1557.         Command lines in files accessed by the source command must begin
  1558.         with a tab, space, or label.  Goto commands within sourcefile search
  1559.         for labels in the same sourcefile.  Gosub commands within sourcefile
  1560.         access subroutines in the telephone directory accessed by the phones
  1561.         string parameter.
  1562.  
  1563.         EXAMPLE: bud  source /usr/bin/caf/bin/callbud
  1564.         This telephone directory entry pat calls a separate script file
  1565.         containing commands to call a secret system.  Placing this
  1566.         information in a separate file keeps it out of the main telephone
  1567.         directory file, which might be used on a number of computers.
  1568.  
  1569.  
  1570.         SEE ALSO: gosub command
  1571.  
  1572.       SPeed m Set the transmission speed ("baud rate") to m.[18] If the
  1573.         speed specified is odd, or equal to 110, two stop bits are
  1574.         transmitted; otherwise one stop bit is transmitted.
  1575.  
  1576.         EXAMPLE: speed 1200
  1577.  
  1578.         N.B.: Some older U.S. Robotics modems cannot accept the sustained
  1579.         full speed output ZCOMM is capable of.  Using speed 2350 corrects
  1580.  
  1581.  
  1582.       __________
  1583.  
  1584.       17. Deep nesting may require a decrease in circular buffer memory
  1585.           allocation.
  1586.  
  1587.       18. This is the DTE (Data Terminal Equipment) speed, the speed at
  1588.           which the computer talks to the modem.
  1589.  
  1590.  
  1591.  
  1592.       (C) 1993 Omen Tech Inc                        Chapter 19 Main Commands
  1593.  
  1594.  
  1595.       Version 18.07 TurboDial 2.36            Universal Line Printer Edition
  1596.       ZCOMM User Manual                                                  148
  1597.  
  1598.         such a problem with the U.S. Robotics Courier 2400.
  1599.  
  1600.         Some 1200 and 2400 bps modems work better (lower error rate) if the
  1601.         speed is set to slightly less than the nominal 1200 or 2400.  This
  1602.         also applies to communications networks that cannot accept sustained
  1603.         full speed data, and to serial ports whose raw bit rate clocks are
  1604.         slightly fast.
  1605.  
  1606.         EXAMPLE: speed 1181 Sets the speed to 1181 bits per second with two
  1607.         stop bits.
  1608.  
  1609.  
  1610.         N.B.: Most timesharing minicomputers can send data from their serial
  1611.         ports faster than they can receive.  A timesharing port that
  1612.         supports interactive operation at 19200 bps may not tolerate file
  1613.         uploads above 2400 bps.
  1614.  
  1615.         N.B.: Operation at high speeds is affected by the operating system
  1616.         version, device drivers, memory resident software, and the
  1617.         computer's hardware design.  Chapter 34 describes common problems
  1618.         encountered in high speed operation.  The new generation
  1619.         NS16550AN/NS16550FAN serial interface chips with FIFO buffers should
  1620.         be used instead of 8250's or 16450's for best results at high speed.
  1621.         This is imperative if disk caches, special device drivers or TSR
  1622.         programs increase interrupt latency.
  1623.  
  1624.         SEE ALSO: 7e, 7o, 7m, 7s, 8n, 8g term options, handshake command, D
  1625.         numeric parameter
  1626.  
  1627.       split svar Split (parse) string parameter svar into tokens stored in
  1628.         string parameters z0...z9 using one or more of the characters in
  1629.         string parameter ifs ("Internal Field Separator") to separate the
  1630.         tokens. **
  1631.  
  1632.         EXAMPLE: If string parameter s1 contains "hello there folks" and ifs
  1633.         contains a space and tab, split s1 Assigns "hello" to z0, "there" to
  1634.         z1, and "folks" to z2.
  1635.  
  1636.  
  1637.         EXAMPLE: Let s0 contain "#1234567-This is big-time Parsing", and ifs
  1638.         contain "#1256- ".  The command split s0 Assigns "34" to z0, "7" to
  1639.         z1, "This" to z2, "is" to z3, "big" to z4, "time" to z5, and
  1640.         "Parsing" to z6.
  1641.  
  1642.  
  1643.         SEE ALSO: y0...y127 string parameters, I,i,p test conditions, sets
  1644.         command
  1645.  
  1646.       split svar string ... uses one string for each token generated.  An
  1647.         empty string ("") assigns the rest of svar to the next token.
  1648.         Otherwise, if tokens remain after the strings are exhausted, ifs is
  1649.  
  1650.  
  1651.       (C) 1993 Omen Tech Inc                        Chapter 19 Main Commands
  1652.  
  1653.  
  1654.       Version 18.07 TurboDial 2.36            Universal Line Printer Edition
  1655.       ZCOMM User Manual                                                  149
  1656.  
  1657.         used for parsing the remaining tokens.
  1658.  
  1659.         EXAMPLE: If s0 contains "#1234567-This is ZCOMM Parsing", The
  1660.         command split s0 "-" "" Assigns "#1234567" to z0 and "This is ZCOMM
  1661.         Parsing" to z1.
  1662.  
  1663.  
  1664.         EXAMPLE: If s0 contains "503-621-3746", The command split s0 "-" "-"
  1665.         Assigns "503" to z0, "621" to z1, and "3746" to z2.
  1666.  
  1667.  
  1668.         SEE ALSO: ss command, scripts, Chapter 99
  1669.  
  1670.       ss svar regular-expression String Split svar according to regular-
  1671.         expression.  ** Regular expressions are described in Chapter 26.
  1672.         The entire matched string (if any) is stored in the z0 string
  1673.         parameter.
  1674.  
  1675.         Matched groups are stored in the z1...z9 string parameters.
  1676.         Parameters which do not receive a matched string or substring are
  1677.         set empty.
  1678.  
  1679.         EXAMPLE: If string parameter s0 contains
  1680.                 From: Captain Midnight To: HBO Inc.
  1681.         then the command      ss s0 "From: (.*) To: (.*)"
  1682.         places "Captain Midnight" in z1 and "HBO Inc." in z2.  In this case,
  1683.         z0 will contain the entire contents of s0.
  1684.  
  1685.  
  1686.         SEE ALSO: split command, regular-expressions Chapter 26
  1687.  
  1688.       st [-options] pathspec Send the files specified in pathspec using the
  1689.         Telink (FIDO) batch Protocol.  The pathname, length, and
  1690.         modification time of each file are transmitted.  Files which cannot
  1691.         be opened are skipped.  An empty pathspec sends all files in the
  1692.         current directory.  A directory name expands to all regular files in
  1693.         that directory.
  1694.  
  1695.         If an error aborts a file transmission (retries exhausted, etc.),
  1696.         batch transfers terminate.
  1697.  
  1698.         EXAMPLE: st *.com Sends *.com
  1699.  
  1700.         N.B.: The receiver must be commanded to receive the files.
  1701.  
  1702.         SEE ALSO: Telink protocol, Chapter 13.
  1703.  
  1704.       sum pathspec Checksums the named text files with an alogrithym
  1705.         compatible with sum(1) on Version 7 Unix (sum -r on System III/V,
  1706.         cksum -o 1 on BSD).  Carriage returns, and all characters starting
  1707.         with the first instance of CPMEOF (^Z) are excluded.  This
  1708.  
  1709.  
  1710.       (C) 1993 Omen Tech Inc                        Chapter 19 Main Commands
  1711.  
  1712.  
  1713.       Version 18.07 TurboDial 2.36            Universal Line Printer Edition
  1714.       ZCOMM User Manual                                                  150
  1715.  
  1716.         processing allows comparison of plain ASCII source files stored on
  1717.         the different systems, but not binary files.  The checksum is
  1718.         printed in octal, followed by a count of 512 byte blocks and bytes
  1719.         read.
  1720.  
  1721.         EXAMPLE: sum *.c Checksums all C source files in the current
  1722.         directory.
  1723.  
  1724.  
  1725.         SEE ALSO: crc, wc commands
  1726.  
  1727.       sx [-options] file Send a single file using the Ward Christensen
  1728.         XMODEM or XMODEM-CRC protocol.  The receiving program may request
  1729.         use of a 16 bit CRC, which is more accurate than the default
  1730.         checksum.  DOS/Unix files sent this way will have Control-Z (CPMEOF)
  1731.         garbage characters appended to make the file length a multiple of
  1732.         128.
  1733.  
  1734.         EXAMPLE: sx foo.com
  1735.  
  1736.  
  1737.         EXAMPLE: sx -k foo.com Sends foo.com using 1024 byte blocks
  1738.  
  1739.         N.B.: The receiver must be commanded to receive the file with an rx
  1740.         filename or rc filename command.
  1741.  
  1742.         SEE ALSO: XMODEM, XMODEM-1k, XMODEM-CRC protocols, Chapter 13.
  1743.  
  1744.       sz [-options] [PREFIX=p | ONAME=x] pathspec Send the files specified
  1745.         in pathspec using ZMODEM Protocol.[19]
  1746.         N.B.: If the remote supports ZMODEM AutoDownload, or accepts rz
  1747.         followed by carriage return as a command to receive files with
  1748.         ZMODEM protocol, only the sz command need be given.  Otherwise, the
  1749.         receiver must be commanded to receive the files with an rz command
  1750.         or menu choice.
  1751.  
  1752.         The +, a, b, n, N, r, y, and Z options are sent to the receiving
  1753.         program.  Only one of the a, b, or r options may be specified.  Only
  1754.         one of the +, n, N, or y options may be specified.
  1755.  
  1756.         Each skipped file is counted as an error as indicated by the e test
  1757.         condition and e numeric parameter.  If the q option is used, files
  1758.         skipped as a result of selective file transfers are not counted as
  1759.         errors.
  1760.  
  1761.  
  1762.       __________
  1763.  
  1764.       19. The receiver may use the sz command to send files by uploading an
  1765.           sz command with the zcommand command.
  1766.  
  1767.  
  1768.  
  1769.       (C) 1993 Omen Tech Inc                        Chapter 19 Main Commands
  1770.  
  1771.